home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / wb-improvement / misc / tng-wb_demo / pack / dox / shovecolors / shovecolors.doc next >
Text File  |  1995-03-26  |  2KB  |  56 lines

  1. A quick note about ShoveColors  (updated March 27, 1995)
  2.  
  3. This was a quick and dirty program I threw together.  It will read in an
  4. IFF  file  containing  a  CMAP  chunk,  and  then set the default public
  5. screen's RGB values.
  6.  
  7. FILE  Specifies the IFF to get the palette from, duh.
  8.  
  9. QUIET  Surpresses all output, so no window is opened.
  10.  
  11. FORCE  Overrides  other  program's  locks.   Be careful on the Workbench
  12.        screen!
  13.  
  14. LOCKALL  Locks  all  pens,  regardless  of  the LOCK hunk.  Useful for
  15.          non-Iconian palette files!
  16.  
  17.          Also,  if  present is a "LOCK" hunk (a custom hunk saved from
  18.          Iconian (versions 1.90-1.98b), then any pens that were  saved
  19.          as locked will attempted to be locked.
  20.  
  21. NOTIFY  This  places 'shovecolors' in a loop, waiting for Workbench to
  22.         close  and  re-open  it's  screen.  Since shovecolors does not
  23.         split  from  the  current CLI process, you MUST use "run >NIL:
  24.         <NIL:   shovecolors"  in  order  to place in scripts.  You can
  25.         stop  shovecolors by sending it a BREAK signal (CTRL-C).  This
  26.         is  easily done if you forgot and left it run in a CLI window.
  27.         If  you  used  "RUN <NIL:  >NIL:  shovecolors", you must use a
  28.         utility  like  XOper  or  Scout.   Someday,  shovecolors might
  29.         become a commodity, so all this will be moot...
  30.  
  31. SIGNALWBVERLAUF  Seems  WBVerlauf  doesn't always notice a screen mode
  32.                  change,    and   therefore   doesn't   rebuild   it's
  33.                  copperlist.   I  attempt  to  signal WBVerlauf when a
  34.                  change  is  made,  but  only  if the NOTIFY switch is
  35.                  present.   This  is  a  hack??   so only specify this
  36.                  switch if you are brave.
  37.  
  38.  
  39.  
  40. What's the POINT?
  41.  
  42. Well,  you could edit a custom palette for a 3.0 workbench screen.  Just
  43. specify pens 0-3 as normal 2.0 colors, 4-7 as MagicWB colors and LOCKED.
  44. Then  save  the palette.  Then, call ShoveColors everytime the Workbench
  45. screen is changed or opened (or from shell-startup!).  This way, you can
  46. save  all  your  icons  with 3 planes (strip planes in Iconian), to save
  47. disk  space!!!   No  need  to  save  all 8 planes to get correct looking
  48. icons!!!  (btw, this is how MagicWB 2.0 saves it's icons now...)
  49.  
  50. No  guarantees  are made for this program.  Use at your own risk.  Check
  51. the source, maybe you could fix any bugs you find?
  52.  
  53. Have fun.
  54.  
  55. C.Randall
  56.